package com.zkw.group.mapper;

import com.zkw.group.entity.ProfesTerm;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProfesTermMapper {

    //获取学期列表
    List<ProfesTerm> getAllProfesTermList(String termname, int pageStart, int pageSize);

    //获取学期列表数目
    int getProfesTermCounts(String termname);

    //添加学期
    int addProfesTerm(ProfesTerm profesTerm);

    //删除指定学期
    int deleteProfesTerm(String termname);

    //获取选中的学期全部信息
    ProfesTerm getUpdateProfesTerm(String termname);

    //更新学期信息
    int updateProfesTerm(ProfesTerm profesTerm);
}
